package se.sll.itintegration.catalogue.gui.service.view.capacity;

import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @author Christer Palm, Nogui
 */
@Data
@EqualsAndHashCode
public class CapacityViewProduct {
    public static enum Status {
        OK, EXPIRING, EXPIRED;
    }
    public static enum Availability {
        YES, NO;
    }
    private String name;
    private String id;
    private boolean availableCrossRegionCapacityActive;
    private Availability availableCrossRegionCapacity;
    private boolean referralInfoActive;
    private String referralInfo;
    private Date validTo;
    private Status status;
    private List<CapacityViewCapacity> capacities;
}
